package com.itluma.isWOak.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author MS
 * @date 2021/4/10 10:06
 * 拒绝访问提示页面
 **/

@Controller
public class AuthorController{

    @RequestMapping("/unauthorized")
    public ModelAndView show(){
        ModelAndView mv = new ModelAndView ();
        mv.setViewName ("unauthorized");
       // mv.addObject ("")
        return mv;
    }

}